<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/searchform.css">
<link rel="stylesheet" href="statics/css/secondarytitle.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header layui-bg-cyan">
            <span>供应商中心</span>
        </div>
        <div class="layui-card-body">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layui-tab layui-tab-card">
                        <ul class="layui-tab-title">
                            <li class="layui-this">供应商查询</li>
                            <li class="">联系人查询</li>
                        </ul>
                        <div class="layui-tab-content">
                            <div class="layui-tab-item layui-show">
                                <table class="layui-table" id="supplierselect" lay-filter="suppliertable"></table>
                            </div>
                            <div  class="layui-tab-item">
                                <table class="layui-table" id="contactselect" lay-filter="contacttable"></table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="suppliertoolbar">
    <button class="layui-btn layui-btn-sm" data-type="getCheckData" lay-event="new">新增</button>
    <button class="layui-btn layui-btn-sm layui-btn-danger"  lay-event="delet">删除</button>
    <div class="layui-inline">
        <label class="layui-form-label">供应商类型</label>
        <div class="layui-input-inline">
            <select id="suppliertype">
                <option value=""></option>
                <option value="text">text</option>
            </select>
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label">供应商信息</label>
        <div class="layui-input-inline">
            <input class="text layui-input" type="text" name="supplier" id="supplier" autocomplete="off" placeholder="">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label">所属采购员</label>
        <div class="layui-input-inline">
            <select id="buyer">
                <option value=""></option>
                <option value="text">text</option>
            </select>
        </div>
    </div>
    <button class="layui-btn layui-btn-sm" lay-event="searchs" style="margin-left: 10px">搜索</button>
</script>

<script type="text/html" id="supplierup">
    <a class="layui-btn layui-btn-sm layui-btn-danger" lay-event="supplierup">修改</a>
</script>

<script type="text/html" id="contactquerytoolbar">
    <div class="layui-inline">
        <label class="layui-form-label">联系人信息</label>
        <div class="layui-input-inline">
            <input class="text layui-input" type="text" name="contactinfo" id="contactinfo" autocomplete="off" placeholder="">
        </div>
    </div>
    <div class="layui-inline">
        <label class="layui-form-label">邮箱</label>
        <div class="layui-input-inline">
            <input class="text layui-input" type="text" name="contactemail" id="contactemail" autocomplete="off" placeholder="">
        </div>
    </div>
    <button class="layui-btn layui-btn-sm" lay-event="searchs" style="margin-left: 10px">搜索</button>
</script>
<%@ include file="../tpl/foot.jsp"%>
<script src="statics/js/BasicData/suppliercenter.js"></script>